home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.19971216-19980424 / 000094_news@newsmaster….columbia.edu _Thu Jan 15 15:59:29 1998.msg < prev    next >
Internet Message Format  |  1998-04-22  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA14399
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 15 Jan 1998 15:59:28 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id PAA19858
  7.     for kermit.misc@watsun; Thu, 15 Jan 1998 15:59:27 -0500 (EST)
  8. Path: news.columbia.edu!psinntp!howland.erols.net!news2.chicago.iagnet.net!news1.chicago.iagnet.net!iagnet.net!ftpbox.mot.com!mothost.mot.com!news-in.cig.mot.com!news.ecid.cig.mot.com!merlin!cornellr
  9. From: cornellr@merlin.ecid.cig.mot.com (Robert Cornell)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: stderr under cgi
  12. Date: 15 Jan 1998 11:36:51 GMT
  13. Organization: Motorola Ltd., European Cellular Infrastructure Division
  14. Lines: 26
  15. Distribution: world
  16. Message-ID: <1998Jan15.111432@merlin.ecid.cig.mot.com>
  17. NNTP-Posting-Host: vulture.ecid.cig.mot.com
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:8267
  19.  
  20.  I have a couple of cgi scripts that perform all manner of admin tasks on a pool
  21.  of modems.  The scripts all work fine, however I always seem to get an error
  22.  message if I call kermit from within perl. i.e:
  23.  
  24. #!/usr/local/bin/kermit
  25. ...
  26. ...
  27.  
  28. is OK, but:
  29.  
  30. #!/usr/local/bin/perl
  31. ...
  32. system("/usr/local/bin/kermit -C script.ksc");
  33.  
  34. gives:
  35.  
  36. Warning: terminal type unknown: ""
  37. Fullscreen file transfer display disabled.
  38.  
  39.  Is this down to the httpd not having a TERM env variable.
  40.  I tried redirecting stderr, assigning \$(TERM), any ideas?
  41.  
  42. TIA
  43. Robert
  44. -- 
  45. ∩┐╜ Robert Cornell - cornellr@SPAM_MAPS.ecid.cig.mot.com